﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.ComponentModel;
using OpenFrameworkCore.Serialize;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Collections.ObjectModel;

namespace OpenFrameworkCore.Controls
{
    /// <summary>
    /// ControlContainer의 Context
    /// </summary>
    [XmlTypeAttribute()]
	public class BasicControlContainerContext : ControlContainerBaseContext
	{
        private double width;

        /// <summary>
        /// Container의 넓이
        /// </summary>
        [XmlAttribute]
        public double Width
        {
            get
            {
                return width;
            }
            set
            {
                width = value;

               RaisePropertyChanged("Width");
            }
        }

        private double height;

        /// <summary>
        /// Container의 높이
        /// </summary>
        [XmlAttribute]
        public double Height
        {
            get
            {
                return height;
            }
            set
            {
                height = value;

				RaisePropertyChanged("Height");
            }
		}
    }
}
